﻿using CTP.CRM.Core.Common.Enums;
using CTP.CRM.Repository.Enum;

namespace CTP.CRM.Repository.Employee.ValueObjects
{

    /// <summary>
    /// 通过组织查询用户及员工
    /// </summary>
    public class GetOrgChildsUserEmployeesOutPut
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        public int EmployeeId { get; set; }

        /// <summary>
        /// 中文名
        /// </summary>
        public string CnName { get; set; } = string.Empty;

        /// <summary>
        /// 英文名
        /// </summary>
        public string EnName { get; set; } = string.Empty;

        /// <summary>
        /// 区号
        /// </summary>
        public string AreaCode { get; set; } = string.Empty;

        /// <summary>
        /// 手机号
        /// </summary>
        public string TelPhone { get; set; } = string.Empty;

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; } = string.Empty;

        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; } = string.Empty;


        /// <summary>
        /// 公司
        /// </summary>
        public int? OrgId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string OrgName { get; set; } = string.Empty;

        /// <summary>
        /// 部门id
        /// </summary>
        public int? DeptId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; } = string.Empty;

        /// <summary>
        /// 用户类型
        /// </summary>
        public UserType? UserType { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        public JobStatus JobStatus { get; set; }

        /// <summary>
        /// 用户类型名称
        /// </summary>
        public string UserTypeName { get; set; } = string.Empty;
    }

}